package cn.stylefeng.guns.modular.packreview.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wp
 * @since 2025-07-26
 */
@TableName("picking_list")
@Data
public class PickingList implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 拣选单类型
     */
    @TableField("pick_type")
    private String pickType;

    /**
     * 拣选品种数(商品的SKU数)
     */
    @TableField("sku_count")
    private String skuCount;

    /**
     * 拣选单编码
     */
    @TableField("pick_number")
    private String pickNumber;

    /**
     * 拣选单时间
     */
    @TableField("pick_time")
    private String pickTime;
    /**
     * 商品件数
     */
    @TableField("goods_count")
    private String goodsCount;


    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 客户id
     */
    @TableField("put_customer_id")
    private Long putCustomerId;

    /**
     * 客户名称
     */
    @TableField("put_customer_name")
    private String putCustomerName;

    /**
     * 仓库id
     */
    @TableField("warehouse_id")
    private Long warehouseId;

    /**
     * 仓库名称
     */
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 修改人
     */
    @TableField("update_by")
    private String updateBy;

}
